<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

//获取access_token
Route::get('index/token','index/Token/getAccessToken');

//设置菜单
Route::get('index/menu','index/Menu/set');

Route::post('index/callInfo_post','index/Call/getCallInfoPost');
//点名页
Route::get('index/call','index/Call/index');
//设置点名信息
Route::post('index/call/setCallInfo','index/Call/setCallInfo');

//获取班级信息
Route::get('index/classInfo','index/Call/getClassInfo');

//教师筛选信息后获取点名信息
Route::post('index/callInfo','index/Call/getCallInfo');

//静默登录
Route::get('index/oauth/login/:scope','index/Oauth/actionLogin');

Route::get('index/oauth/callback','index/Oauth/actionCallback');

//微信支付
Route::get('index/wxpay','index/WxPay/wxPay');





